package com.hyh.baowenlioaworking.model.dtos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.hyh.baowenlioaworking.model.Employee;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @BelongsPackage: com.hyh.baowenlioaworking.model.dtos
 * @ClassName EmployeeDto
 * @Author: hyhWTX
 * @CreateTime: 2023-07-23  10:29
 * @Description: TODO (一句话描述以下该类的功能)
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeDto extends Employee {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;
    private String name;
    private String gender;
    private Date birthday;

    private String email;
    private String phone;
    private String address;
    private Integer departmentId;
    private Integer posId;
    private String Dname;
    private String Pname;
}
